# Contributor: Anon <danilagdn.2004@gmail.com>
# Maintainer: Anon <danilagdn.2004@gmail.com>
pkgname=sing-geosite
pkgver=20231212122459
pkgrel=0
pkgdesc="sing-geosite database"
_repo="SagerNet/$pkgname"
url="https://github.com/$_repo"
arch="noarch"
license="GPL-3.0-or-later"
source="$pkgver.geosite.db::$url/releases/download/$pkgver/geosite.db
				$pkgver.LICENSE::https://raw.githubusercontent.com/$_repo/$pkgver/LICENSE"
options="!check"


package() {
	install -Dm644 "$srcdir/$pkgver.geosite.db" "$pkgdir/usr/share/$pkgname/geosite.db"
	install -Dm644 "$srcdir/$pkgver.LICENSE"    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

sha512sums="
cef0320202a37b1ba859554f9b06b255a2bd78cbaa58ec29d69d3767bed7205ad838550814772c20fc52927ab5b55b9e00f9f2e29e8a7b76f5ae1d845f7801b7  20231212122459.geosite.db
5cab2697882973e38835376b3e5f45f5720da2a5d408c442ab8c03b97b2cb69387fe5dd7f00e8d3e7dbc9e34797c120c0444b9abb60aba1728e6661970a12418  20231212122459.LICENSE
"
